package com.glela.goods.service;

import com.glela.goods.model.ReceiveGoodsCache;
import com.glela.goods.model.request.RequestGYBaseModel;
import com.glela.goods.model.vo.GoodsSendVo;
import org.springframework.http.ResponseEntity;

import java.util.List;

public interface ReceiveGoodsService {
    public ResponseEntity<?> receiveGoodsData(RequestGYBaseModel model);

    List<ReceiveGoodsCache> selectAllReceiveGoodsCache(ReceiveGoodsCache bean);

    void addInitGoods(List<GoodsSendVo> goodsSendVoList, String type) throws RuntimeException ;

    //void addInitGoodsTrancation(List<GoodsSendVo> goodsSendVoList, String type);

    void updateByPrimaryKeySelective(ReceiveGoodsCache receiveGood);

    public ResponseEntity<?> sysProductToWMS();
    void updateProductData(List<ReceiveGoodsCache> cacheList);


//    public ResponseEntity<?> sysGoodsDataToStore() throws InterruptedException;
}
